import {
	Request
} from "../utils/Request.js";

//查询设备完整信息
export const api_machine_getDtoFull = (params) => {
	return Request({
		url: "/machine/getDtoFull",
		method: "POST",
		header: {
			'Content-Type': 'application/x-www-form-urlencoded'
		},
		data: params
	})
}

//设备补货
export const api_machin_replenish = (params) => {
	return Request({
		url: '/machine/replenish',
		method: "POST",
		data: params
	});
}

//设备开柜
export const api_machin_openCabinet = (params) => {
	return Request({
		url: '/machine/openCabinet',
		method: "POST",
		data: params
	});
}

//设备激活
export const api_machin_activate = (params) => {
	return Request({
		url: '/machine/activate',
		header: {
			'Content-Type': 'application/x-www-form-urlencoded'
		},
		method: "POST",
		data: params
	});
}